<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="grid-wrap">
    <table data-id="grid"></table>
</div>
<div data-id="news_tb" class="nsdb">
    <%--<shiro:hasPermission name="process:data:add">--%>
    <sinux:button permission="process:data:add" dataKey="add" dataIcon="fa fa-plus fa-lg"/>
    <%--</shiro:hasPermission>--%>
    <a data-href="${pageContext.request.contextPath}/app/api/process/toSearch" data-key="search" iconCls="fa fa-search fa-lg"
       plain="true">搜索</a>
    <a data-href="#" data-key="search_all" iconCls="fa fa-refresh fa-lg" plain="true">搜索全部</a>
</div>

<div data-id="user_list_btn">
    <sinux:button permission="process:data:update" dataKey="edit" dataIcon="fa fa-edit fa-lg" dataId="{{id}}" dataParam="?id={{id}}"/>
    <a data-href="${pageContext.request.contextPath}/app/api/process/detail" data-param="?id={{id}}"
       data-id="{{id}}" data-key="preview" iconCls="fa fa-tv fa-lg" plain="true">预览</a>
    <a data-href="#" data-id="{{id}}" data-key="view" iconCls="fa fa-eye fa-lg" plain="true">详情查看</a>
</div>
